package com.easy.easy.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("system")
public class PageController {

    //@RequestMapping("upload")
    //public String upload(){
   //     return "upload.html";
   // }


        @RequestMapping("adminlogin")
    public String adminlogin() {
        return "system/adminlogin.html";
    }

    @RequestMapping("admin")
    public String admin() {
        return "system/admin.html";
    }

    @RequestMapping("order")
    public String order() {
        return "system/order.html";
    }


    @RequestMapping("category")
    public String category(){
         return "system/category.html";
     }

     @RequestMapping("adminuser")
     public String adminuser(){
            return "system/adminuser.html";
     }
     @RequestMapping("user")
    public String user(){
        return "system/user.html";
     }

     @RequestMapping("index")
    public String index(){
        return "shopping/index.html";
     }

     @RequestMapping("product")
     public String product(){
        return "system/product.html";
     }

     @RequestMapping("list")
    public String list(){
        return "shopping/list.html";
     }

}
